home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 209 / 209.d81 / b.evil wizard (.txt) < prev    next >
Commodore BASIC  |  2022-08-26  |  3KB  |  87 lines

  1. 1 po=53280:pokepo,0:pokepo-8,23:dim a$(8):s=0:hp=12:w=1:l=0:pokepo+1,0
  2. 2 print"[147][152]            [212]he [197]vil [215]izard":print"           (c) pingo in 2001
  3. 3 [153]"(NULL)ou have to kill the evil wizard."
  4. 6 [153]"(NULL)ou will meet the wizard when you have  status 10 or more."
  5. 8 [161]z$:[139]z$[178]""[167]8
  6. 11 [129]i[178]1[164]8:[135]a$(i):[130]i:[129]i[178]1[164]6:[135]b$(i):[130]i:w$[178]b$(w)
  7. 13 [129]i[178]1[164]3:[135]c$(i):[130]i
  8. 15 [137]30
  9. 16 [153]"(NULL)ou meet a ";c$(e);" ";a$(d);"."
  10. 17 [153]"left$e carries a ";b$(f);".":[153]"left$e has";g;"hit-points."
  11. 18 [153]"str$o you (a)ttack, (r)etreat or (q)uit?"
  12. 19 [161]z$:[139]z$[178]""[167]19
  13. 20 [139]z$[178]"a"[167][137]40
  14. 21 [139]z$[178]"r"[167][137]60
  15. 22 [139]z$[178]"q"[167]40000
  16. 23 [137]19
  17. 30 [153]"loadprint#(NULL)tatus: ";s;" (NULL)eapon: ";w$:[153]"left$it-points: ";hp
  18. 31 [129]i[178]1[164]40:[153]"tan";:[130]i
  19. 32 q[178][181]([187](1)[172]7)[170]1:[139]q[178]1[167]80
  20. 33 d[178][181]([187](1)[172]7)[170]1:[139]s[177]10[167]d[178]d[170]1
  21. 34 [139]d[178]8[167][137]110
  22. 35 e[178][181]([187](1)[172]3)[170]1:f[178][181]([187](1)[172]6)[170]1:g[178][181]([187](1)[172]4)[170]d:gg[178]g
  23. 36 [137]16
  24. 40 v[178][181]([187](1)[172]5)[170]1
  25. 41 [139]v[177][178]4[167]hp[178]hp[171]1
  26. 42 [139]v[179]4[167]g[178]g[171]w
  27. 43 [139]v[179]4[167][153]"(NULL)ou attack! left$e looses";w;"hit-points!"
  28. 44 [139]v[177][178]4[167][153]"left$e attacks you!close(NULL)ou loose 1 hit-point!"
  29. 45 [139]hp[178][179]0[167][137]130
  30. 46 [139]g[178][179]0[167]50
  31. 47 [153]"<any key>"
  32. 48 [161]z$:[139]z$[178]""[167]48
  33. 49 [137]40
  34. 50 [153]"(NULL)ou killed him!":gg[178][181](gg[173]3):[139]l[178]1[167]114
  35. 51 [153]"(NULL)ou get";gg;"more hit-points.
  36. 52 hp=hp+gg:gosub56
  37. 53 print"<any key>"
  38. 54 getz$:ifz$=""then54
  39. 55 goto 15
  40. 56 ife=1thens=s-1
  41. 57 ife=2thens=s+1
  42. 58 ife=3andgg>10thens=s+1
  43. 59 return
  44. 60 ife=2then70
  45. 61 print"[217]ou escape from the monster."
  46. 62 goto53
  47. 70 print"[217]ou can't escape from him!"
  48. 71 goto40
  49. 80 print"[217]ou don't meet anyone."
  50. 81 m=int(rnd(1)*4)+1:ifm>1then83
  51. 82 goto53
  52. 83 ifw=6thengoto53
  53. 84 print"[217]ou found a new weapon!"
  54. 85 w=w+1:w$=b$(w)
  55. 86 goto53
  56. 100 data "elf","human","dwarf","thief","goblin","orch","troll","wizard"
  57. 101 data "knife","dagger","staff","sword","club","hammer"
  58. 102 data "friendly","evil","neutral"
  59. 110 print"[217]ou meet the evil wizard!"
  60. 111 print"[200]e attacks you![160][200]e has 50 hit-points!"
  61. 112 g=50:l=1:goto40
  62. 114 print"[147][217]ou killed the evil wizard![160]
  63. 115 [153]"(NULL)eople thank you for destroying this
  64. 116 print"monster![160][212]he world is safe again!
  65. 118 [137] 136
  66. 130 [153]"load(NULL)ou fought bravely, but your enemy"
  67. 131 [153]"killed you! (NULL)ou got status";s;"."
  68. 132 [139] s[179][178]1 [167] s$[178]"very bad"
  69. 133 [139] s[179]6 [175] s[177]1 [167] s$[178]"good"
  70. 134 [139] s[177]5 [167] s$[178]"very good"
  71. 135 [153]"(NULL)hat is ";s$;"."
  72. 136 [153]"str$o you want to play again?"
  73. 137 [161]z$:[139]z$[178]""[167]137
  74. 138 [139]z$[178]"y"[167][138]
  75. 139 [137]40000
  76. 10000 d[178][194](186):n$[178]"b.evil wizard":[159]15,d,15,"s0:"[170]n$:[160]15:[148]n$,d:[128]
  77. 40000 [129]i[178]0[164]21:[151]828[170]i,8[170]i:[130]
  78. 40010 [139]dv[179]8[176]dv[177]29[176]dv[178]8[167]40030
  79. 40020 a[178][194](828):b[178][194](828[170]dv[171]8):[151]828,b:[151]828[170]dv[171]8,a
  80. 40030 a$[178]"hello connect":[129]j[178]8[164]29:i[178][194](828[170]j[171]8):[139]i[178]14[167][130]
  81. 40040 [160]2:[159]2,i,2:[160]2:[139]st[167]40060
  82. 40050 [160]15:[159]15,i,15,"r0:"[170]a$[170]"="[170]a$:[132]15,er:[160]15:[139]er[178]63[167]40070
  83. 40060 [130]:[153]"load":[151]53272,23:[151]186,8:[128]
  84. 40070 q$[178][199](34):[151]646,[194](53281):[153]"load":[151]53272,23
  85. 40080 [153]"loadp(NULL)2048,0:p(NULL)44,8:p(NULL)43,1:p(NULL)56,160:p(NULL)55,0:clr:l(NULL)"q$a$q$","i
  86. 40090 [153]"run:":[151]631,13:[151]632,13:[151]198,2:[128]
  87.